#!/usr/bin/env bash
cd ..
cd ..
mvn clean package -Dmaven.test.skip=true -U  -Dmaven.repo.local=/Users/lijian/maven/repository
cd doc
cd bash
docker build -t lijianblog.com:18082/stream:v2 .

docker push lijianblog.com:18082/stream:v2

docker rmi $(docker images -f "dangling=true" -q)


#/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/bin/java
# -Dmaven.multiModuleProjectDirectory=/Users/lijian/Desktop/work/git/learn/stream "
## -Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3" "
# -Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" " -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=59594:/Applications/IntelliJ IDEA.app/Contents/bin"
#  -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar"
#  org.codehaus.classworlds.Launcher
#  -Didea.version=2018.2.8
#  -s /Users/lijian/maven/settings.xml
#  -Dmaven.repo.local=/Users/lijian/maven/repository install
